import {UserServiceImpl} from "../service";
import UserInfo from "../entity/UserInfo";

export abstract class UserServiceInter {

    public static getImplClass() {
        return UserServiceImpl;
    }

    public abstract register(username: string, pwd: string): boolean;

    public abstract login(username: string, pwd: string): UserInfo | null;

}
